﻿using System.Collections.Generic;
using Nustache.Core;

namespace Fuse8.ContentManagementFramework.Web.Etc
{
    public class NustacheTemplateResolver : ITemplateResolver
    {
        public void AddHelper(string name, string helperTemplate)
        {
            
        }

        public string Resolve(string template, Dictionary<string, object> model)
        {
            return Render.StringToString(template, model);
        }
    }
}